﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
using ISFProject.Models;

namespace ISFProject.Models.DbContextInfo
{
    public class SportDbContext : DbContext
    {
        //users
        public DbSet<Team> Teams { get; set; }
        public DbSet<Student> Students { get; set; }
        public DbSet<SchoolCupCoordinator> SchoolCupCoordinators { get; set; }
        public DbSet<School> Schools { get; set; }
        public DbSet<NSSF> NSSFs { get; set; }
        public DbSet<Coach> Coaches { get; set; }

        //ISF
        public DbSet<ISF> ISFs { get; set; }
        public DbSet<Advertisement> Advertisements { get; set; }

        //Geographic
        public DbSet<Country> Countries { get; set; }
        public DbSet<Continent> Continents { get; set; }
        public DbSet<City> Cities { get; set; }
        public DbSet<Address> Adresses { get; set; }

        //Competition
        public DbSet<Result> Results { get; set; }
        public DbSet<Record> Records { get; set; }
        public DbSet<Meeting> Meetings { get; set; }
        public DbSet<EventMeeting> EventMeetings { get; set; }
        public DbSet<Event> Events { get; set; }
       

    }
}